package com.qf.dao;

import com.qf.pojo.Project;

import java.util.List;

/**
 * @ClassName ProjectDao
 * @Description TODO
 * @Author 86181
 * @Date 2022/9/2 14:12
 * @Version 1.0
 **/


public interface ProjectDao {
    /**
     * 添加数据
     * @param project
     * @return
     */
    public int addProject(Project project);

    /**
     * 全部查询(联合表developer)
     * @return
     */
    public List<Project> findAll();

    /**
     * 删除表中记录
     * @param pid
     * @return
     */
    public int deleteProject(int pid);

    public Project findProjectById(int pid);





}
